﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JSDWFAdd.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.JSDWF.JSDWFAdd" %>
    <div class="pageContent">
    <%if (showtype == 0)
      {%>
    <iframe src="JSDWF/JSDWFAdd.aspx?FolderID=<%=FolderID %>&showtype=1" width="100%" layoutH="350" frameborder=0></iframe>
    <%}
      else{ %>
     <style type="text/css">
      html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { font-size:12px; margin: 0; padding: 0;}
      body {color: #666666;}
      html, body {font: 12px tahoma,Arial,"宋体",Verdana,sans-serif;    }         
      table {border-collapse: collapse;border-spacing: 0;}
      .inputTable {width: 100%;}
      .inputTable th { background-color: #F9FBFD;    border-bottom: 1px solid #DDE9F5;    color: #333333;    font-weight: normal;    line-height: 25px;    padding: 5px 10px 5px 0;text-align: right; width: 100px;}
      .inputTable td {    border-bottom: 1px solid #DDE9F5;    color: #666666;    line-height: 25px;    padding: 5px;}
      input.formText {    border-color: #999999 #E1E1E1 #E1E1E1 #999999;    border-style: solid;    border-width: 1px;    padding: 5px;    width: 180px;}
  
      .buttonArea {line-height: 25px;padding: 10px 0 10px 115px; }
    .formButton {
        background: url("../themes/css/ihisceImg/base_button.gif") no-repeat scroll 0 0 transparent;
        border: medium none;
        color: #555555;
        cursor: pointer;
        font-size: 12px;
        height: 28px;
        line-height: 28px;
        outline: medium none;
        text-align: center;
        width: 70px;
    }   
  </style>
	<form method="post"  action="JSDWFAdd.aspx?ajaxmethod=add&showtype=1"  enctype="multipart/form-data" class="pageForm required-validate" <%--onsubmit="return validateCallback(this, navTabAjaxDone);"--%>>
		 <div class="" style=" clear:both; border-bottom:1px solid #000; padding:5px 0px; margin:5px 0px; font-weight:bold; font-size:14px;">                 
                将在[<%=DWFFolder.FolderName%>]下创建此文件
             </div>
          <input name="FolderID"  type="hidden" class="required"  value="<%=FolderID %>" />
         <table  class="inputTable">            
            <tr>
                <th>选择图纸:</th>
                <td><input type="file" name="filedata" id="File1"/><br/>(只能上传DWF格式)</td>
            </tr>
            <tr>
                <th>图纸级别:</th>
                <td>
                    <select name="AdtlvlID">
                        <%= GetAdtlvlID()%>
                    </select>
                </td>
            </tr>
            <tr>
                <th>备注:</th>
                <td><input name="Remark" class="" type="text" value="" alt=""/></td>
            </tr>
        </table>
        <div class="buttonArea">				
            <button type="submit" class="formButton">保存</button>          
		</div>
        
	</form>
    <%} %>
</div>
